from django.urls import path, include

from application.album import views

# from .views import index, AlbumListView

urlpatterns = [
    # path('', views.index, name='index'),
    path('', views.AlbumListView.as_view(), name='album_list'),
    path('albums/new/', views.AlbumCreateView.as_view(),name='album_create'),
    path('albums/download/<int:pk>/', views.album_download,name='album_download'),
    path('albums/delete/<int:pk>/', views.delete_album,name='album_delete'),
]
